#ifndef  __MYMCU_MISC_H
#define  __MYMCU_MISC_H

//-----------------------------------Macro-------------------------------------
//-----------------------------------------------------------------------------

//----------------------------------Include------------------------------------
#include "my_cfg.h"
//-----------------------------------------------------------------------------

//----------------------------------Declare-----------------------------------
void MyMcu_SysClock(void);
void MyMcu_PriGrpCfg(void);
void MyMcu_SetVectorTable(unsigned int NVIC_VectTab, unsigned int Offset);

void MyMcu_Int_Disable(void);
void MyMcu_Int_Enable(void);
void MyMcu_Nop(void);
void MyMcu_Reset(void);

uint32_t  MyMcu_GetSysClk(void);
uint32_t  MyMcu_GetClk_AHB(void);
uint32_t  MyMcu_GetClk_APB1(void);
uint32_t  MyMcu_GetClk_APB2(void);
uint32_t  MyMcu_GetClk_APB1_TIM(void);
uint32_t  MyMcu_GetClk_APB2_TIM(void);
//-----------------------------------------------------------------------------

#endif
//------------------------------------EOF--------------------------------------








